home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 0022-3.564 / dmg-0049 / 400.txt next >
Text File  |  1997-04-16  |  18KB  |  397 lines

  1. Info-Atari16 Digest   Monday, August 21, 1989   Volume 89 : Issue 400
  2.  
  3. This weeks Editor: Bill Westfield
  4.  
  5. Today's Topics:
  6.  
  7.                       Re: Multitasking on the ST
  8.                       Re: Multitasking on the ST
  9.                          Re : Names for ST's
  10.                            Re: Meg upgrade.
  11.                         Re: Curses for the ST
  12.                            Re: Meg upgrade.
  13.                       Re: Multitasking on the ST
  14.                          Re: quickst, bigscrn
  15.                 Re: VIP AND KUMA, HOW DO THEY COMPARE?
  16.                       Re: Multitasking on the ST
  17.  
  18. ----------------------------------------------------------------------
  19.  
  20. Date: 12 Aug 89 16:39:09 GMT
  21. From: mcvax!hp4nl!phigate!philmds!leo@uunet.uu.net  (Leo de Wit)
  22. Subject: Re: Multitasking on the ST
  23. To: info-atari16@score.stanford.edu
  24.  
  25. In article <482@tw-rnd.SanDiego.NCR.COM> johnl@tw-rnd.SanDiego.NCR.COM ()
  26.  writes:
  27. |In article <1066@philmds.UUCP> leo@philmds.UUCP (Leo de Wit) writes:
  28.    []
  29. |>I think two issues are being confused here, the need for per process
  30. |>memory protection, and the possible to run processes 'simultaneously'.
  31. |>Why should memory protection be a hotter item when parallel processes
  32. |>are involved?
  33. |
  34. |Because of the potential for a single user program to cause the termination
  35. |of all the processes in the system.
  36.  
  37. This is equally well possible in the current 'one-process-running-at-a-time'
  38. scheme. Note that there are already accessory-based editors, batch
  39. modem transfer programs, TSR print spoolers for the ST right now.
  40.  
  41. |Consider: You are a user of the Spiffy multi-tasking-but-no-
  42. |per-process-memory-protection Machine.  You fire up a ray-trace.
  43.    [etc. good example left out]
  44. |
  45. |On a machine with memory protection (OK and resource tracking) the MMU will
  46. |prevent corruption of other processes address space, and the nasty process can
  47. |be removed from the system cleanly.
  48.  
  49. I think you'll need a bit more than just an MMU for a secure system.
  50. S'pose your nasty process alters some system vector (applying patch 271
  51. to SAFEDOS). A pity that the last bug was not yet removed... My point
  52. is, that a MMU is a probably undispensable ingredient IN AN OTHERWISE
  53. EXCELLENT SYSTEM.  That safe system (which undoubtedly will have a
  54. notion of privileges, users) is what you should start with in the first
  55. place.
  56.  
  57. B.T.W. what do you do when a thunderstorm is coming up, but your
  58. raytracer has yet to finish its last hour of calculations? Use a TMU :-) ?
  59.  
  60.    []
  61. |I'm all for system robustness for ANY system.  My point is that when you
  62. |introduce multitasking, memory protection is more important due to the
  63. |potential to disrupt other processes.
  64.  
  65. I heard this one before and I still won't believe it, unless a proper
  66. argument is given.
  67.  
  68. |>[about VM]
  69. |
  70. |Sounds Good!  But now you're wandering into the area of virtual memory and
  71. |that's not what our original discussion was about.  Thanks for the reply.
  72.  
  73. You bought an MMU but you don't want VM? Gee, that would be the first
  74. reason I would buy an MMU for (and not for protection). As long as the
  75. filesystems used are single-user, not write protectable, I don't care
  76. much for safe core.
  77.  
  78.    Leo.
  79.  
  80. ------------------------------
  81.  
  82. Date: 12 Aug 89 14:26:05 GMT
  83. From: mcvax!hp4nl!phigate!philmds!leo@uunet.uu.net  (Leo de Wit)
  84. Subject: Re: Multitasking on the ST
  85. To: info-atari16@score.stanford.edu
  86.  
  87. In article <1989Aug11.175942.6534@sj.ate.slb.com> greg@sj.ate.slb.com (Greg
  88.  Wageman) writes:
  89. |In article <1067@philmds.UUCP> leo@philmds.UUCP (Leo de Wit) writes:
  90.     [some stuff left out]
  91. |>        If a process does a call that may involve some time, like
  92. |>reading a character from the keyboard (Cconin(), Cnecin()), this
  93. |>process only continues its call when there is a character available, so
  94. |>it will not unnecessarily block other processes.
  95. |
  96. |Will you be trapping these interrupts so that you can potentially
  97. |unblock tasks waiting on them?
  98.  
  99. Not quite, but to the same effect. What in fact happens, is that before
  100. the process enters the real GEMDOS function (the handling of Cconin or
  101. whatever) but after its context has been saved on its basepage and
  102. stack, the system will look at what process to continue with (of course
  103. this could just as well be the same process).  Processes that are
  104. waiting for some state change like a character from the keyboard
  105. becoming available, or the printer being ready to receive further data,
  106. are marked that way and will only be selected if the state they're
  107. waiting for changes (the test for the changed state is just a simple
  108. index comparision in most cases). Calls that can be safely assumed to
  109. complete within a reasonable amount of time are not marked waiting
  110. (although one could perhaps win something by switching out a process
  111. that wants to write to disk when the disk is not yet available).
  112. When no waiting processes can be served (no state changes) the other
  113. processes are searched for the least served one (processes have a
  114. priority and a 'serviced' number).
  115.  
  116. A few problem calls remain: Cconrs(), which reads an entire line from
  117. the keyboard. One can at best test for the first character being
  118. available, but the user could still take indefinitely to complete his
  119. line. Shells that do command line editing, history completion etc.
  120. generally won't have a problem, since they typically process their
  121. input character by character. A solution would be to rewrite Cconrs()
  122. to be re-entrant (no problem since I recently patched Cconrs() to
  123. handle a history mechanism, command line editing and file name
  124. completion).
  125.  
  126.     []
  127. |I must admit the idea sounds like it has merit.  However it's easy to
  128. |try something like this when blissfully unaware of the pitfalls.  The
  129. |biggest one I see is that GEMDOS itself is not written to be
  130. |re-entrant.
  131.  
  132. Sure, but a) GEMDOS is not being re-entered and b) in a special way,
  133. GEMDOS IS re-entrant. After these stunning remarks, I'll have to make
  134. myself clear 8-):
  135. Consider a series of programs that call each other by a Pexec(), for
  136. instance a shell starts make, which starts a compiler, which ...
  137. Note that each of them only returns from their Pexec after the Pexec'ed
  138. program has finished. That program probably did a lot of GEMDOS calls
  139. ---> there you have your re-entrancy (in a special way). The whole trick
  140. is that, while one process cannot re-enter GEMDOS (it would at least
  141. trash registers left on the basepage for the restore of the previous
  142. call), multiple processes can very well all be in a GEMDOS call
  143. (they're not yet performing their function, only saved their state).
  144.  
  145. |You will have to be careful when you implement time-slicing that you
  146. |do not suspend a process while it is in the midst of a GEMDOS call.
  147.    [story about semaphores, critical sections left out]
  148.  
  149. But the time-slicing (implemented yesterday evening!) only takes effect
  150. when the program was in user mode. This guarantees you're not
  151. interrupting any progressing GEMDOS/(X)BIOS/GEM call. Small and
  152. beautiful. In fact, my semaphore is the supervisor bit in the program
  153. status word!
  154.  
  155. |There are probably thousands of such potential problems.  I don't even
  156. |want to think about the potential for trashing the disk due to
  157. |simultaneous updating...
  158.  
  159. If there is a problem with this scheme, the problem can be reproduced
  160. in the current (unmodified) TOS, so it was already there.  As for
  161. simultaneous updating, each GEMDOS call is completed before the next is
  162. done. No trashing.
  163.  
  164. |Still, it sounds like fun to play with.
  165.  
  166. It sure is!! B.T.W. does that sound like an alpha/beta tester :-) ?
  167.  
  168. Cheers,
  169.          Leo.
  170.  
  171. P.S. The current version screamed for job control, signalling etc. so
  172. that's being implemented right now (together with some system calls
  173. like signal() and kill()).
  174.  
  175. ------------------------------
  176.  
  177. Date: 22 Jul 89 20:04:32 GMT
  178. From: attcan!utgpu!watmath!watdragon!watcsc!sleeve@uunet.uu.net  (Stephen F.
  179.  White)
  180. Subject: Re : Names for ST's
  181. To: info-atari16@score.stanford.edu
  182.  
  183. STelllllaaaaaaaaaa!!!!
  184. --
  185. /***************************************************************************
  186.  * "Rock & Roll vegetable, vegetable stew!"  *    Stephen F. White, esq.   *
  187.  *                          - Jazz Butcher   *      sleeve@watcsc.uucp     *
  188.  
  189. ------------------------------
  190.  
  191. Date: 22 Jul 89 13:32:56 GMT
  192. From: mcvax!ukc!icdoc!gould!zmacu06@uunet.uu.net  (F S Taylor)
  193. Subject: Re: Meg upgrade.
  194. To: info-atari16@score.stanford.edu
  195.  
  196. --
  197. |    Frank Taylor    | Engineers often ponder upon the problem...             |
  198. |       DoC 1        | Why do the girls with the most streamlined shape offer |
  199. |  Imperial College  | the most resistance?             anon.                 |
  200. |--------------------+--------+-----------------------------------------------|
  201. | JANET: zmacu06@doc.ic.ac.uk |  All rights unreserved.                       |
  202.  
  203. ------------------------------
  204.  
  205. Date: 22 Jul 89 12:01:35 GMT
  206. From: jarvis.csri.toronto.edu!utgpu!watmath!watdragon!tiger!achowe@rutgers.edu
  207.  (CrackerJack)
  208. Subject: Re: Curses for the ST
  209. To: info-atari16@score.stanford.edu
  210.  
  211. >Speaking of curses, is there a *real* version of curses available
  212. >for the ST?  The only "curses" package I've seen is hardcoded for
  213. >the ST/VT52 screen only.  True curses supports any number of different
  214. >terminal types with the termcap database.  I know Fred Fish has
  215. >written a PD termcap library that will compile on the ST, but I
  216. >still haven't seen a real curses yet.
  217.  
  218. There is a curses library/source for ftp on him1.cc.umich.edu.
  219. I used this package to port TETRIX about 2 months ago (which has since
  220. been posted to the net).
  221.  
  222. - Ant
  223.    achowe@tiger.waterloo.edu      |  "Murdered by pirates is good."
  224.  __                    _          |    - The Princess Bride (movie)
  225. /   _  _  _ |/ _  _    | _  _ |/  |
  226. \__| `<_\<_ |\|= | ` \_/<_\<_ |\  |                        disclaimer...
  227.  
  228. ------------------------------
  229.  
  230. Date: 22 Jul 89 13:58:06 GMT
  231. From: mcvax!ukc!icdoc!gould!zmacu06@uunet.uu.net  (F S Taylor)
  232. Subject: Re: Meg upgrade.
  233. To: info-atari16@score.stanford.edu
  234.  
  235. OOOOOOOPs there seems to have been a slight glitch, sorry about the
  236. empty posting earlier! :-)
  237.  
  238. I did want to warn people of the dangers of a DIY upgrade (520 -->
  239. 1040). I did this very thing. The kit I bought was described in the
  240. mag as an easy project that anyone (with a little experience) could
  241. do. When the kit arrived it looked fine. In fact the fitting process
  242. seemed quite simple, if a little labourious. The problems came when I
  243. turned the machine on after re-assembling it. All I got was a blank
  244. black screen! After much probing I could not find anything wrong with
  245. it so off to the repairers it went. Eventually I got it back working
  246. with a full meg, phewww.
  247.  
  248. The main problem with the kit was that you had to solder sockets onto
  249. the board. These sat so closely together that it was nigh on
  250. impossible to see if two pins had been soldered together (I suspect
  251. that this was the problem with mine).
  252.  
  253. So, my advice to anyone trying to upgrade is, unless you *really* know
  254. what you are doing when you pick up a soldering iron, get it done by
  255. the dealer/upgrade supplier even if it costs 10-15 pounds more. It
  256. would have saved me %40 pounds!
  257.  
  258. Frank.
  259. --
  260. |    Frank Taylor    | Engineers often ponder upon the problem...             |
  261. |       DoC 1        | Why do the girls with the most streamlined shape offer |
  262. |  Imperial College  | the most resistance?             anon.                 |
  263. |--------------------+--------+-----------------------------------------------|
  264. | JANET: zmacu06@doc.ic.ac.uk |  All rights unreserved.                       |
  265.  
  266. ------------------------------
  267.  
  268. Date: 12 Aug 89 15:55:23 GMT
  269. From: attcan!utgpu!watmath!watdragon!dahlia!swklassen@uunet.uu.net  (Steven W.
  270.  Klassen)
  271. Subject: Re: Multitasking on the ST
  272. To: info-atari16@score.stanford.edu
  273.  
  274. In article <62828@linus.UUCP> rachamp@mbunix (Champeaux) writes:
  275. >
  276. >Now there's a point to debate.  Do you really need memory protection on a
  277. >single user multi-tasking computer.  On a multi-user computer, memory
  278. >protection is a necessity, since if one user's program crashes, you don't
  279. >want to bring down the 50 other users.  On a personal computer, where cost
  280. >is an important factor, is it really necessary?  (kind of sounds like the
  281. >question "Is multi-tasking really necessary?" doesn't it?)
  282. >It would, however, be really nice.
  283.  
  284. Here is a key issue in the multitasking debate: cost vs. performance.
  285. While it is true that you are never going to match the performance
  286. of a system designed (with hardware) for multitasking only through
  287. software, one can come up with some pretty good compromises.  Minix
  288. is a good example of this, sure its not as secure as Unix but then
  289. again, security isn't as much of an issue on a single-user system
  290. as it is on a mult-user system.  It seems reasonable to sacrifice
  291. some security in order to keep cost down and performance up.  (Still
  292. it would be nice if we had the hardware to make it efficient, but
  293. since we don't we must do the best that we can with what we have.)
  294.  
  295. As for the usefulness of multitasking, it extends not just to the
  296. end user (running lots of programs), but also to the programmer.
  297. Quite often in large applications it is useful to have portions of
  298. the system running in the background.
  299. Clearly it is more efficient and more secure to have this supported
  300. by the OS rather than requiring the program itself to include all
  301. the scheduling and security stuff.
  302. ie. I would benefit (as a programmer) greatly even if only a limited
  303. multitasking were allowed (system calls to provide low priority
  304. background processes).  Users would benefit from faster running
  305. programs since the cpu would not have to be left sitting idle most
  306. of the time.
  307.  
  308.  
  309. Steven W. Klassen
  310. Computer Science Major
  311. University of Waterloo
  312.  
  313. ------------------------------
  314.  
  315. Date: 22 Jul 89 19:16:42 GMT
  316. From: mcvax!kth!sunic!kullmar!pkmab!daniel@uunet.uu.net  (Daniel Deimert)
  317. Subject: Re: quickst, bigscrn
  318. To: info-atari16@score.stanford.edu
  319.  
  320. In article <512@electro.UUCP> ignac@electro.UUCP (Ignac Kolenko) writes:
  321. >
  322. >an informal survey we (me and Darek) conducted on GEnie showed users wanted
  323. >a larger, faster version of Quick ST rather than a smaller, slower version. so
  324. >we give them what they want. hell, Turbo ST is 40K.
  325. >
  326. >quick st can be made to use as little as 10K of memory, but it would be
  327. >slower.
  328.  
  329. I agree with them.  Why care about 50 kb more or less when you usually
  330. got 1 Mb, and at least 512 kb. It's not a very big deal. Rememeber, there're
  331. quite a lot of people with four Mb out there...
  332. Better this way, make the program bigger and FASTER!
  333.  
  334. Wouldn't an option for use with BLiTTER be nice?  (I get better results
  335. on scrolling using QuickInf WITHOUT QuickST, but QuickST speeds up the
  336. Cconws() etc several times)
  337. By the way - someone who knows how to pay these ShareWare-money
  338. from Sweden?  I can't really send 30$ in an envelope...?! Please e-mail!
  339.  
  340.   Daniel Deimert           /  /    Internet: daniel@pkmab.se
  341.   Fridstav. 4             /  /     UUCP: ...
  342.   S-715 94  Odensbacken  /  /            kullmar!pkmab!daniel
  343.   SWEDEN                /  /       Phone: +46-19-52037, +46-19-111441 (BBS)
  344.  
  345. ------------------------------
  346.  
  347. Date: 13 Aug 89 00:48:19 GMT
  348. From: rochester!rit!ultb!clf3678@rutgers.edu  (C.L. Freemesser)
  349. Subject: Re: VIP AND KUMA, HOW DO THEY COMPARE?
  350. To: info-atari16@score.stanford.edu
  351.  
  352. In article <ID2201.D890811.T141027.CHIASSA@UDEM> CHIASSA@UDEM.BITNET (Alyre
  353.  CHIASSON) writes:
  354. >
  355. > In a number of recent issues of ST WORLD "KUMA" has offered
  356. > to VIP users a special price on K-SPREAD 3 plus K-GRAPH 3 if
  357. > they send in their master VIP disks. Does anyone have any
  358. > experience with either of these "KUMA" products in regards
  359. > to what VIP has to offer? Is it worth the switch?
  360.  
  361. Well, I use LOTUS 1-2-3 at work (albeit a summer job).  When I come home
  362. and boot up VIP, I am given the EXACT SAME environment I have at work.
  363. Ergo, VIP is for me!  I have never used any other spreadsheet, but if
  364. you use LOTUS on any regular basis, VIP is the way to go.  Also, you
  365. can mooch the LOTUS manuals from work and use them at home.   :~)
  366.  
  367. Chris Freemesser, Rochester Institute of Technology | What I like :
  368. BITNET: %clf3678@RITVAX   GEnie: C.FREEMESSER       | 1) My Atari ST
  369. USENET: Just reply and hope it gets through         | 2) My '77 Mercury
  370. <This space available.......555-9092>               | 3) Coke Classic
  371.  
  372. ------------------------------
  373.  
  374. Date: 13 Aug 89 03:16:34 GMT
  375. From: gem.mps.ohio-state.edu!ginosko!rex!hoang@tut.cis.ohio-state.edu  (Dzung
  376.  Hoang)
  377. Subject: Re: Multitasking on the ST
  378. To: info-atari16@score.stanford.edu
  379.  
  380.     For those who would like to experience multitasking on the ST, I would
  381. recommend looking at minix ST available from Prentice-Hall for $79.  It's a
  382. "mini-unix" operating system.  Subscribe to comp.os.minix for more info.
  383.  
  384. Dzung Hoang
  385. --
  386. -----------------------------------------------------------------------------
  387. hoang@comus.cs.tulane.edu                   hoang@rex.cs.tulane.edu
  388. hoang@comus.UUCP                            hoang@rex.UUCP
  389. tulane!comus!hoang                          tulane!rex!hoang
  390.  
  391. ------------------------------
  392.  
  393. End of Info-Atari16 Digest
  394. **************************
  395. -------
  396.  
  397.